{include file="header.tpl" title="China User"}

<div id="container">

<div class="left_bar">
{section name=n loop=$item_cats}
<li><a href="list.php?catid={$item_cats[n].cid}">{$item_cats[n].name}</a></li>
{/section}
</div>

<div class="right_content">
<div><a href="/taoke/">{$lang.index}</a>{$catnav}</div>
{if $empty_sub_cats == false}
    <div class="sub_items_cat">
    <ul>
    {section name=n loop=$sub_item_cats}
    <li><a href="list.php?catid={$sub_item_cats[n].cid}">{$sub_item_cats[n].name}</a></li>
    {/section}
    </ul>
    <div class="clear-both"></div>
    </div>
{/if}
<br />
<div class="clear-both"></div>
<div class="sort_nav">
    <ul>
    {section name=s loop=$sort}
        <li {if $curnav == $smarty.section.s.index}class="current_nav"{/if}>
        	<a href="list.php?catid={$get.catid}&sort={$smarty.section.s.index}">{$sort[s].0}</a>
        </li>
    {/section}
    </ul>
    <div class="clear-both"></div>
</div>
{section name=i loop=$items}
	<div class="item-wrap">
    	<div class="item-img">
        	<a href="item.php?iid={$items[i].num_iid}">
            <img src="{print_img img=$items[i].pic_url tp='_b'}" border="0" onload="resizeImage(this, 200, 230, 250);" />
            </a>
        </div>
        <div>{$lang.sell} {$items[i].price}</div>
        <div><a href="item.php?iid={$items[i].num_iid}">{$items[i].title}</a></div>        
    </div>
{/section}
<div class="clear-both"></div>
{$pagination}
</div>

<div class="clear-both"></div>
</div>

{include file='footer.tpl'}